package com.tangk.tool;

import java.util.Map;
import java.util.logging.Logger;

public class DefaultTools implements ITools{
	static Logger logger = Logger.getLogger("Main");
	private DefaultTools(){
		
	}
	@Override
	public  Map<String, Object> doIt(Map<String, Object> params) {
		return params;
	}

	public static ITools getInstance() {
		logger.info("获取默认工具！");
		return SimpleInstanceCons.defaultInstance;
	}
	static class SimpleInstanceCons{
		public static final DefaultTools defaultInstance = new DefaultTools();
	}
	@Override
	public void end() {
		
	}
}
